<!-- bmt/bookui/src/views/Layout.vue -->
<template>
  <div class="layout-container">
    <div class="menu-container">
      <Menu />
    </div>
    <div class="content-container">
      <router-view />
    </div>
  </div>
</template>

<script lang="ts" setup>
import Menu from '@/views/Menu.vue'
</script>

<style scoped>
.layout-container {
  display: flex;
  height: 100vh;
}

.menu-container {
  width: 20%;
  min-width: 200px;
  border-right: 1px solid #ccc;
  overflow-y: auto;
}

.content-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}
</style>